package com.itbupt.types.design.framework.link.model2.handle;

/**
 * @Author dingchang
 * @Date 2025/4/29 15:06
 * @Description: 逻辑处理器接口
 */
public interface ILogicHandler<T, D, R> {

    default R next(T requestParameter, D dynamicContext) {
        return null;
    }

    R apply(T requestParameter, D dynamicContext) throws Exception;

}
